import Vue from 'vue'
import Vuex from 'vuex'
// 2.导入模块
import ShowModal from "./ShowModal"
import loginStatus from "./loginStatus"
import ShowToast from "./ShowToast"
import userInfo from './userinfo'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    // 3.关联模块
    ShowModal,
    loginStatus,
    ShowToast,
    userInfo
  }
})
